<extend name="Public/base"/>

<block name="body">
<div id="main" class="myeach"><!--main-->
     <div class="maincon clearfix sysconfig">
	      <div class="posi clearfix"><h1>你的位置是：<span>首页</span><span>网站设置</span></h1><p><a onclick="javascript:history.back(-1);return false;" href="javascript:"><strong><img src="__IMG__/left.jpg" width="11" height="10" /></strong>返回</a><a onclick="javascript:history.go(1);return false;" href="javascript:" class="fangxing">向前<strong><img src="__IMG__/right.jpg" width="12" height="11" /></strong></a></p></div>
			<h1 class="get_head"></h1>
			<div class="form-wrap">
			<form action="{:U('save')}" method="post" class="form-horizontal">
			<volist name="list" id="config">
				<h1 class="web_head username">{$config.title}<span class="check-tips">（{$config.remark}）</span></h1>
				<div class="controls chosetype tui_posit">
				<switch name="config.type">
				<case value="0">
				<input type="text" class="text200" name="config[{$config.name}]" value="{$config.value}">
				</case>
				<case value="1">
				<input type="text" class="text200" name="config[{$config.name}]" value="{$config.value}">
				</case>
				<case value="2">
				<label>
					<textarea class="txtarea400"  name="config[{$config.name}]">{$config.value}</textarea>
				</label>
				</case>
				<case value="3">
				<label>
					<textarea class="txtarea400" name="config[{$config.name}]">{$config.value}</textarea>
				</label>
				</case>
				<case value="4">
				<select class="select100 valid" name="config[{$config.name}]">
					<volist name=":parse_config_attr($config['extra'])" id="vo">
						<option value="{$key}" <eq name="config.value" value="$key">selected</eq>>{$vo}</option>
					</volist>
				</select>
				</case>
				</switch>
				</div>
			</volist>
			<div class="btm-btn-wrap">
				<div class="controls">
					<empty name="list"><button type="submit" disabled class="gosend" target-form="form-horizontal">确 定</button><else/><button type="submit" class="gosend" target-form="form-horizontal">确 定</button></empty>
					<button class="btn-back" onclick="javascript:history.back(-1);return false;">返 回</button>
				</div>
			</div>
			</form>
			</div>
     </div>
   </div><!--main-->
</block>

<block name="script">

</block>
